/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package fr.ove.openmath.jome.ctrlview.bidim;

/**
 *
 * @author Mr.Sam
 */
import fr.ove.openmath.jome.ctrlview.bidim.Display;

/**
* Interface to implement to manage the substitution of displays.
*
* @author © 1999 DIRAT Laurent
* @version 2.0  04/08/1999
*/
public interface SubstitutedDisplayManager {
    /*
    * Adds a substituted display to the list.
    * @param display the display to add
    */
    public void addSubstitutedDisplay(Display display);
    
    /*
    * Removes a substituted display to the list.
    * @param display the display to remove.
    */
    public void removeSubstitutedDisplay(Display display);
    
    /*
    * Removes a substituted display at the specified rank to the list.
    * @param rank the specified rank.
    */
    public void removeSubstitutedDisplay(int rank);
    
    /**
    * Returns the substituted display at the specified rank.
    * @param rank the specified rank.
    */
    public Display getSubstitutedDisplay(int rank);
    
    /**
    * Returns the number of substituted displays.
    */
    public int getNbSubstitutedDisplay();
}